export default class Leave {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/app/submit/listWorkOrder/flowSubmits', 'post', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/app/submit/startAndTakeUserTask/flowSubmits', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/app/submit/viewHistoricTaskBusinessData/flowSubmits', 'get', params, axiosOption, httpOption);
  }
  static project (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/project/listByStage', 'get', params, axiosOption, httpOption);
  }
  static business (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessOpportunity', 'get', params, axiosOption, httpOption);
  }
}
